package com.kuang.service;

import com.kuang.dao.LoginMapper;
import com.kuang.pojo.Manager;
import org.springframework.stereotype.Service;
import javax.annotation.Resource;

@Service
public class LoginServiceImpl implements LoginService{

    @Resource(name = "loginMapper")
    private LoginMapper loginMapper;

    public Manager queryManager(String mgrname, String mgrpassword) {

        return loginMapper.queryManager(mgrname,mgrpassword);
    }
}
